<!-- templates/edit_question.html -->
{% extends 'base.html' %}

{% block content %}
    <h2 class="page-title">编辑试题：{{ question.Title }}</h2>
    <form method="POST">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit" class="btn btn-success">确认修改</button>
        <a href="{% url 'course_detail' course.CourseID %}" class="btn btn-secondary">取消</a>
    </form>
{% endblock %}